/*
 * HappyJourney.java
 *
 * Created on April 8, 2007, 10:59 PM
 */

package busticketvendingsystem;

/**
 *
 * @author  Samik Saha
 */
public class HappyJourney extends javax.swing.JFrame {
    
    /** Creates new form HappyJourney */
    public HappyJourney() {
        initComponents();
        setExtendedState(javax.swing.JFrame.MAXIMIZED_BOTH);
        (new Thread(){
            public void run(){
                try{
                    Thread.sleep(3000);
                    HappyJourney.this.dispose();
                }catch(InterruptedException exception){
                    exception.printStackTrace();
                }
            }
        }).start();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setUndecorated(true);
        jLabel1.setBackground(new java.awt.Color(255, 255, 255));
        jLabel1.setFont(new java.awt.Font("Agency FB", 3, 36));
        jLabel1.setForeground(new java.awt.Color(244, 10, 64));
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("WISH YOU A HAPPY JOURNEY!");
        jLabel1.setOpaque(true);
        getContentPane().add(jLabel1, java.awt.BorderLayout.CENTER);

        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new HappyJourney().setVisible(true);
            }
        });
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel1;
    // End of variables declaration//GEN-END:variables
    
}
